package cn.vehicle.domains.vo.req.sysUser;

import cn.vehicle.domains.vo.BasePageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserListReq extends BasePageReq {

    @Schema(name = "username", description = "用户名")
    private String username;


    @Schema(name = "phone", description = "手机号")
    private String phone;

    @Schema(name = "startTime", description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @Schema(name = "endTime", description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;


}
